package com.soft.javase.ch03.statics;

/**
 * @author wangzhisen
 * @Desc TODO
 * @date 2025/4/20
 */
public class StaticDemo2 {

    int a;
    static int b;

    public void a() {
    }

    public static void b() {

    }

    //
    public void methodA() {
        System.out.println(a);
        System.out.println(b);
        a();
        b();
    }

    public static void methodB() {
       //System.out.println(a);
        System.out.println(b);
        //System.out.println(this);
        //a();
        b();
    }
}
